Release 10.1A: OpenEdge Getting Started:
Database Essentials
Third normal form
The third rule of normalization is that you must remove columns that can be derived from existing columns. A table is in the third normal form when it contains only independent columns, that is, columns not derived from other columns.
Table 2–8 shows an Order table with a Total After Tax column that is calculated from adding a 10% tax to the Order Amount column.
To reduce this table to the third normal form, eliminate the Total After Tax column because it is a dependent column that changes when the Order Amount or tax changes. For your report, you can create an algorithm to obtain the amount for Total After Tax. You need only keep the source value because you can always derive dependent values. Similarly, if you have an Employee table, you do not have to include an Age column if you already have a Date of Birth column, because you can always calculate the age from the date of birth.
Third normal form advantages
A table that is in the third normal form gives you these advantages:
Although a database normalized to the third normal form is desirable because it provides a high level of consistency, it might impact performance when you physically implement the database. When this occurs, consider denormalizing these tables.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |